﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GibbsLDASharp.LDA
{
    public class Conversion
    {
        public static String ZeroPad(int number, int width)
        {
            String result = String.Empty;
            for (int i = 0; i < width - number.ToString().Length; i++)
                result += "0";
            result += number.ToString();

            return result;
        }
    }
}
